import request from '@/utils/request'

export function getQueues(data) {
  return request({
    url: '/queue/index',
    method: 'get',
    params: data
  })
}

export function downloadQueueErrors(data) {
  return request({
    url: '/queue/export',
    method: 'post',
    data,
    responseType: 'blob'
  })
}
